package edu.ruc.cluster.util;

public class Const {

	public final static String IP_LIST_FILE = "ip.list";
	public final static String USER_PW_FILE = "user.list";
//	public final static String JDK_CONF_FILE = "jdk.conf";
	public final static String CONFIG_FILE = "param.conf";
	
	public final static String HOSTS_ADD_FILE = "addfile";
	public final static String HOSTS_DES_PATH = "hosts";
	
	public final static String JDK_TAR_FILE = "jdk.tar.gz";
	public final static String LINE_SEPERATOR = "\t";

	public final static String RIGHT_ICON_PATH = "/resource/ok.png";
	public final static String WRONG_ICON_PATH = "/resource/error.png";
	
	public final static String LABEL_FONT = "Verdana";
//	"Monospaced.bold";
	
	public final static String LOCALHOST_TAG = "LOCALHOST";
	public final static String HADOOP_USER_TAG = "HADOOPUSER";
	public final static String JDK_SRC_TAG = "JDKSRC";
	public final static String JDK_DST_TAG = "JDKDST";
	public final static String JDK_FOLDER_TAG = "JDKFOLDER";
	
	public static String MASTERS_TAG = "MASTER";
	public static String SLAVES_TAG = "SLAVE";
	
	public static String HADOOP_FOLDER_TAG = "HADOOPFOLDER";
	public static String HADOOP_TAR_FILE = "hadoop.tar.gz";
	public static String HADOOP_SRC_FOLDER = "hadoop";
//	public static String HADOOP_CONF_FILE = "hadoop.conf";
	public static String HADOOP_DST_TAG = "HADOOPDST";
	public static String HADOOP_SRC_TAG = "HADOOPSRC";
	
	// Used for upload and download service. In SFTPChannel
    public static final String SFTP_REQ_HOST = "host";
    public static final String SFTP_REQ_PORT = "port";
    public static final String SFTP_REQ_USERNAME = "username";
    public static final String SFTP_REQ_PASSWORD = "password";
    public static final int SFTP_DEFAULT_PORT = 22;
    public static final String SFTP_REQ_LOC = "location";
    
    public static String MASTER_IS_SLAVE_TAG = "MASTERSLAVE";
//    public static boolean MASTER_IS_SLAVE_VALUE = false;
	
}
